home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / basic / ace24dist.lha / ace24.lha / include / resources / battmembitsamiga.h < prev    next >
C/C++ Source or Header  |  1996-09-10  |  2KB  |  66 lines

  1. #ifndef RESOURCES_BATTMEMBITSAMIGA_H
  2. #define RESOURCES_BATTMEMBITSAMIGA_H 1
  3. /*
  4. ** battmembitsamiga.h for ACE Basic
  5. **
  6. ** Note: Translated to ACE by ConvertC2ACE
  7. **       @ MapMeadow Software, Nils Sjoholm
  8. **
  9. **
  10. ** Date: 09/03/95
  11. **
  12. **
  13. */
  14.  
  15.  
  16.  
  17. /*
  18.  * Amiga specific bits in the battery-backedup ram.
  19.  *
  20.  *  Bits 0 to 31,  inclusive
  21.  */
  22.  
  23. /*
  24.  * AMIGA_AMNESIA
  25.  *
  26.  *      The battery-backedup memory has had a memory loss.
  27.  *      This bit is used as a flag that the user should be
  28.  *      notified that all battery-backed bit have been
  29.  *      reset and that some attention is required. Zero
  30.  *      indicates that a memory loss has occured.
  31.  */
  32.  
  33. #define BATTMEM_AMIGA_AMNESIA_ADDR  0
  34. #define BATTMEM_AMIGA_AMNESIA_LEN   1
  35.  
  36.  
  37. /*
  38.  * SCSI_TIMEOUT
  39.  *
  40.  *      adjusts the timeout value for SCSI device selection.  A
  41.  *      value of 0 will produce SHORTINT timeouts (128 ms) while a
  42.  *      value of 1 produces LONGINT timeouts (2 sec).  This is used
  43.  *      for SeaCrate drives (and some Maxtors apparently) that
  44.  *      don`t respond to selection until they are fully spun up
  45.  *      and intialised.
  46.  */
  47.  
  48. #define BATTMEM_SCSI_TIMEOUT_ADDR   1
  49. #define BATTMEM_SCSI_TIMEOUT_LEN    1
  50.  
  51.  
  52. /*
  53.  * SCSI_LUNS
  54.  *
  55.  *      Determines if the controller attempts to access logical
  56.  *      units above 0 at any given SCSI address.  This prevents
  57.  *      problems with drives that respond to ALL LUN addresses
  58.  *      (instead of only 0 like they should).  Default value is
  59.  *      0 meaning don't support LUNs.
  60.  */
  61.  
  62. #define BATTMEM_SCSI_LUNS_ADDR      2
  63. #define BATTMEM_SCSI_LUNS_LEN       1
  64.  
  65. #endif /* RESOURCES_BATTMEMBITSAMIGA_H */
  66.